package com.csun.cmny.provider.model.dto.channel;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-13 16:42
 * @Description: the class device bind base entity
 */
@Data
public class ChannelQueryDto extends BaseQuery {




    /*咨询意向 0-准备入住 1-预定床位 2-了解情况*/

    private Integer intention;

    /*媒介渠道 0-家属介绍 1-电视 2-传单 3-互联网 4-报纸 5-广告*/

    private Integer channel;


    /*开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;

    /*结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    /*名字*/
    private String name;

    private Long groupId;
}
